#!/bin/bash

rm -rf ../out-zsbl
mkdir ../out-zsbl
make CROSS_COMPILE=riscv64-unknown-linux-gnu- O=../out-zsbl ARCH=riscv sg2042_defconfig
make -j$(nproc) CROSS_COMPILE=riscv64-unknown-linux-gnu- ARCH=riscv O=../out-zsbl

